package com.lly.bigdata.bgayx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lly.bigdata.bgayx.entity.SysPost;
import com.lly.bigdata.bgayx.entity.SysUser;
import com.lly.bigdata.bgayx.vo.Result;
import com.lly.bigdata.bgayx.vo.SearchModel;

/**
 * <p>
 * 岗位 服务类
 * </p>
 *
 * @author lly
 * @since 2020-10-21
 */
public interface ISysPostService extends IService<SysPost> {

    /**
     * @return Result
     * @Author lly
     * @Description 查询分页岗位数据
     * @Date 2021/8/6 14:34
     * @Param [searchModel]
     **/
    Result queryPost(SearchModel searchModel);

    Result saveOrUpdate(SysPost sysPost, SysUser sysUser);
}
